package com.cy.ppj.model.ao.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description: 经纪人设置参数
 * @author: Ocean
 * @create: 2018-09-10 10:53
 **/
@Data
@ApiModel("经纪人设置参数")
public class BrokerCommissionSettingsAO {

    @ApiModelProperty(value = "id", example = "0")
    @NotNull(message = "数据异常")
    private Long id;

    @ApiModelProperty(value = "佣金率", example = "0")
    @NotNull(message = "佣金率不可为空")
    private BigDecimal rate;

    @ApiModelProperty(value = "升级条件", example = "0")
    @NotNull(message = "升级条件不可为空")
    private BigDecimal upgradeCondition;

    @ApiModelProperty(value = "保级条件", example = "0")
    @NotNull(message = "保级条件不可为空")
    private BigDecimal keepCondition;

}
